package com.zpark.entity;

import java.util.Arrays;

/**
 * 评估数据：针对需要评估的数据，封装形成这个实体
 */
public class EvaluateData {


    private long evaluateTime;//评估时间
    private String applicationName;//应用名
    private String userIdentify;//用户唯一标记-->用户名
    private String loginSequence;//登录序列-->登录的唯一标记
    private String ordernessPassword;//乱序密码：把密码的原本顺序打乱，保证数据的安全
    private String cityName;//登录城市
    private GeoPoint geoPoint;//登录地地理位置对象：包括经度和纬度
    private Double[] inputFeatures;//输入特征：每一个输入框花费了多长时间
    private String deviceInformation;//登录时使用的设备信息

    @Override
    public String toString() {
        return "EvaluateData{" +
                "evaluateTime=" + evaluateTime +
                ", applicationName='" + applicationName + '\'' +
                ", userIdentify='" + userIdentify + '\'' +
                ", loginSequence='" + loginSequence + '\'' +
                ", ordernessPassword='" + ordernessPassword + '\'' +
                ", cityName='" + cityName + '\'' +
                ", geoPoint=" + geoPoint +
                ", inputFeatures=" + Arrays.toString(inputFeatures) +
                ", deviceInformation='" + deviceInformation + '\'' +
                '}';
    }

    public long getEvaluateTime() {
        return evaluateTime;
    }

    public void setEvaluateTime(long evaluateTime) {
        this.evaluateTime = evaluateTime;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public String getUserIdentify() {
        return userIdentify;
    }

    public void setUserIdentify(String userIdentify) {
        this.userIdentify = userIdentify;
    }

    public String getLoginSequence() {
        return loginSequence;
    }

    public void setLoginSequence(String loginSequence) {
        this.loginSequence = loginSequence;
    }

    public String getOrdernessPassword() {
        return ordernessPassword;
    }

    public void setOrdernessPassword(String ordernessPassword) {
        this.ordernessPassword = ordernessPassword;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public GeoPoint getGeoPoint() {
        return geoPoint;
    }

    public void setGeoPoint(GeoPoint geoPoint) {
        this.geoPoint = geoPoint;
    }

    public Double[] getInputFeatures() {
        return inputFeatures;
    }

    public void setInputFeatures(Double[] inputFeatures) {
        this.inputFeatures = inputFeatures;
    }

    public String getDeviceInformation() {
        return deviceInformation;
    }

    public void setDeviceInformation(String deviceInformation) {
        this.deviceInformation = deviceInformation;
    }

    public EvaluateData() {
    }

    public EvaluateData(long evaluateTime, String applicationName, String userIdentify, String loginSequence, String ordernessPassword, String cityName, GeoPoint geoPoint, Double[] inputFeatures, String deviceInformation) {
        this.evaluateTime = evaluateTime;
        this.applicationName = applicationName;
        this.userIdentify = userIdentify;
        this.loginSequence = loginSequence;
        this.ordernessPassword = ordernessPassword;
        this.cityName = cityName;
        this.geoPoint = geoPoint;
        this.inputFeatures = inputFeatures;
        this.deviceInformation = deviceInformation;
    }
}
